package org.lifei.org.service;

import org.lifei.auth.dto.LoginDTO;
import org.lifei.org.domain.Employee;
import org.lifei.base.service.IBaseService;
import org.lifei.org.query.EmployeeQuery;
import org.springframework.web.multipart.MultipartFile;

import java.io.OutputStream;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lifei
 * @since 2024-01-17
 */
public interface IEmployeeService extends IBaseService<Employee> {

    Employee selectByUsername(LoginDTO loginDTO);






    void download(List<Employee> employees, OutputStream outputStream) throws Exception;

    Object upload(MultipartFile file) throws Exception;
    List<Employee> selectByKey(EmployeeQuery employeeQuery);

    List<String> selectPermissionSnsById(Long id);
}
